package MDVRPTW;

public class Customer implements Point{

	//顾客编号
	private int num;
	//顾客X坐标
	private double X;
	//顾客Y坐标
	private double Y;
	//顾客最早服务时间
	private double EST;
	//顾客最晚服务时间
	private double LST;
	//顾客服务所需时间
	private double serviceTime;
	//顾客货物重量
	private double weight;
	//顾客货物体积
	private double volume;
	
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public double getX() {
		return X;
	}
	public void setX(double x) {
		X = x;
	}
	public double getY() {
		return Y;
	}
	public void setY(double y) {
		Y = y;
	}
	public double getEST() {
		return EST;
	}
	public void setEST(double eST) {
		EST = eST;
	}
	public double getLST() {
		return LST;
	}
	public void setLST(double lST) {
		LST = lST;
	}
	public double getWeight() {
		return weight;
	}
	public void setWeight(double weight) {
		this.weight = weight;
	}
	public double getVolume() {
		return volume;
	}
	public void setVolume(double volume) {
		this.volume = volume;
	}
	public double getServiceTime() {
		return serviceTime;
	}
	public void setServiceTime(double serviceTime) {
		this.serviceTime = serviceTime;
	}
	
	@Override
	public double[] getPoint() {
		double temp[]={this.X,this.Y};
		return temp;
	}
	
	
}
